package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * @author ：zfr
 * @date ：2021/3/29 14:11
 */
@FieldTypeAnnotation(tableName = "t_l_ck_clinic_cure", desc = "病人接待日志", autoSave = true, uploadCk = true)
public class LogClinicCure extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "病人id")
    private int patientId;
    @FieldTypeAnnotation(desc = "病症id")
    private int diseaseId;
    @FieldTypeAnnotation(desc = "科室信息")
    private String departmentInfo;
    @FieldTypeAnnotation(desc = "增加值")
    private long value;
    @FieldTypeAnnotation(desc = "增加积分")
    private long score;
    @FieldTypeAnnotation(desc = "道具数量")
    private int goodNum;
    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;

    public LogClinicCure(long userId, int patientId, int diseaseId, String departmentInfo, long value, long score, int goodNum, int eventId) {
        this.userId = userId;
        this.patientId = patientId;
        this.diseaseId = diseaseId;
        this.departmentInfo = departmentInfo;
        this.value = value;
        this.score = score;
        this.goodNum = goodNum;
        this.eventId = eventId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getPatientId() {
        return patientId;
    }

    public void setPatientId(int patientId) {
        this.patientId = patientId;
    }

    public int getDiseaseId() {
        return diseaseId;
    }

    public void setDiseaseId(int diseaseId) {
        this.diseaseId = diseaseId;
    }

    public String getDepartmentInfo() {
        return departmentInfo;
    }

    public void setDepartmentInfo(String departmentInfo) {
        this.departmentInfo = departmentInfo;
    }

    public long getValue() {
        return value;
    }

    public void setValue(long value) {
        this.value = value;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }

    public int getGoodNum() {
        return goodNum;
    }

    public void setGoodNum(int goodNum) {
        this.goodNum = goodNum;
    }

    public int getEventId() {
        return eventId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }
}
